package db

import "gorm.io/gorm"

type System struct {
	gorm.Model
	Name   string
	Remark string
}

type Table struct {
	gorm.Model
	SystemId uint
	Name     string
	Describe string
	Remark   string
}

type Column struct {
	gorm.Model
	TableId       uint
	Name          string
	Describe      string
	Type          string
	IsMain        bool
	IsEmptyable   bool
	DictType      string
	SubDictSystem string
	DictGroupFlag string
	DictColumn    string
	SubDictType   string
	ColumnSize    string
	ColumnSuffix  string
	Remark        string
}
